import config from "@/config";
import http from "@/utils/request";

export default {
	menus: {
		url: `${config.API_URL}/profile/menus`,
		name: "获取菜单",
		get: async function () {
			return await http.get(this.url);
		},
	},
	userInfo: {
		url: `${config.API_URL}/profile`,
		name: "获取用户详情",
		get: function () {
			return http.get(this.url);
		},
	},
};
